#ifndef  __STACK__
#define  __STACK__
typedef struct Node{
    struct Node *next_node;
    int id;
}Node_t;

typedef struct Link_list{
    struct Node *head;
    struct Node *tail;
    int length;
}Link_list_t;

int init_list(Link_list_t *file_stack);
int add_catalog(Link_list_t *file_stack,int id);
int delete_catalog(Link_list_t *file_stack);
int printf_Linklist(Link_list_t *catalog,char* idPath);
#endif
